home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / FW_CArcShape HitTest does not < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  796 b   |  [TEXT/ttxt]

  1. Subject:     FW_CArcShape::HitTest does not seem to work
  2. Sent:        6/18/96 2:50 PM
  3. Received:    6/24/96 8:23 AM
  4. From:        Walter Holladay, WALTERH@corel.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I have a little pie chart part that I am doing some hit testing on.  I want to
  9. pass in a point to each section of the pie for hit testing to determine
  10. which section the point is in.  However, no matter where the point is in
  11. the pie, the first section always returns a hit.  I looked at the code and
  12. the problem seems to be in the CalcAngle function.  I'm no mathemetician,
  13. but it seems to me that a function that always returns zero can't be doing
  14. what it's supposed to! :-)
  15.  
  16. What's the deal?
  17. Walter
  18.